﻿using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using NMortgage.UI.ViewModels;
using Microsoft.Practices.Unity;

namespace NMortgage.UI.Tests.ViewModels
{
    [TestClass]
    public class MainViewModelTest : TestBase<MainViewModel>
    {
        [TestMethod]
        public void Views()
        {
            var views = Subject.Views.ToList();
            Assert.IsInstanceOfType(views[0], typeof(LoanProfileViewModel));
            Assert.IsInstanceOfType(views[1], typeof(SimulationViewModel));
        }
    }
}
